<div id="feeds">
	<div id="feed-container">
		<!-- $feeds as $feed -->
		<dl class="feed-item" onmouseover="feed_mouseover(this)" onmouseout="feed_mouseout(this)">
			<dt style="float:left"><a href="u.php?uid={feed[uid]}"><img src="avatar.php?fid={feed[avatar_fid_m]}&m" width="50" height="50"></a></dt>
			<dd style="margin-left:60px;position:relative">
				<input class="feed-lx" type="hidden" value="{feed[lx]}">
				<input class="feed-id" type="hidden" value="{feed[id]}">
				<input class="refer-id" type="hidden" value="{feed[refer][id]}">
				<div class="feed-msg feed-msg-cur">
					<a class="feed-msg-uname" href="u.php?uid={feed[uid]}">{feed[uname]}</a>：
					<span style="display:inline"><!-- if($feed[msg]) -->{feed[msg]}<!-- else -->无<!-- end --></span>
				</div>
	
				<!-- if($feed[lx]=='1' && $feed[refer]) -->
				<div class="feed-refer" id="refer_{feed[refer][id]}">
				
					<div class="feed-msg">
						<a class="feed-msg-uname" href="u.php?uid={feed[refer][uid]}">{feed[refer][uname]}</a>：<span style="display:inline"><!-- if($feed[refer][msg]) -->{feed[refer][msg]}<!-- else -->无<!-- end --></span>
					</div>
					
					<!-- if($feed[refer][reslist]) -->
					<ul class="feed-reslist">
					<!-- $feed[refer][reslist] as $res -->
					<li>
					<!-- if($res[lx]=='torrent') --><img src='{config[weburl]}/resource/res_torrent_20.png' title='BT种子'><!-- end -->
					<!-- if($res[lx]=='ed2k') --><img src='{config[weburl]}/resource/res_ed2k_20.png' title='电驴链接'><!-- end -->
					<!-- if($res[lx]=='magnet') --><img src='{config[weburl]}/resource/res_magnet_20.png' title='磁力链接'><!-- end -->
					<!-- if($res[lx]=='thunder') --><img src='{config[weburl]}/resource/res_thunder_20.png' title='迅雷链接'><!-- end -->
					<a href='download.php?id={res[id]}&feedid={feed[refer][id]}' target='_blank'>{res[name]}</a>
					<font color=gray>&nbsp;(<!-- if($res[size]) -->{res[size]}&nbsp;<!-- end -->{res[download]}次下载)</font>
					</li>
					<!-- end -->
					</ul>
					<!-- end -->
				
					<!-- if($feed[refer][tags]) -->
					<div class="tags">标签：<!-- $feed[refer][tags] as $tag --><a href='{config[weburl]}/search.php?lx=all&sj=all&skey={tag}'>{tag}</a><!-- end --></div>
					<!-- end -->
					
					<div class="feed-piclist"><ul>
					<!-- $feed[refer][piclist] as $pic -->
					<li><a href='{pic[url]}'><img class='magnify' src='{pic[url_thumb]}' title='{pic[pic_name]}' style='height:100px;'></a></li>
					<!-- end -->
					</ul></div>
				
					<div class="att">
						<a href="u.php?feed={feed[refer][id]}" class="att_publish_time" title='{feed[refer][reslist][0][name]}'>
						<span style="display:none">{feed[refer][reslist][0][name]}</span>{feed[refer][publish_time]}
						</a>
						<br style="clear:both;width:0;height:0">
					</div>
					
				</div>
				<!-- end -->
				
				<!-- if($feed[reslist]) -->
				<ul class="feed-reslist">
					<!-- $feed[reslist] as $res -->
					<li>
					<!-- if($res[lx]=='torrent') --><img src='{config[weburl]}/resource/res_torrent_20.png' title='BT种子'><!-- end -->
					<!-- if($res[lx]=='ed2k') --><img src='{config[weburl]}/resource/res_ed2k_20.png' title='电驴链接'><!-- end -->
					<!-- if($res[lx]=='magnet') --><img src='{config[weburl]}/resource/res_magnet_20.png' title='磁力链接'><!-- end -->
					<!-- if($res[lx]=='thunder') --><img src='{config[weburl]}/resource/res_thunder_20.png' title='迅雷链接'><!-- end -->
					<a href='download.php?id={res[id]}&feedid={feed[id]}' target='_blank'>{res[name]}</a>
					<font color=gray>&nbsp;(<!-- if($res[size]) -->{res[size]}&nbsp;<!-- end -->{res[download]}次下载)</font>
					</li>
					<!-- end -->
				</ul>
				<!-- end -->
				
				<!-- if($feed[tags]) -->
				<div class="tags">标签：<!-- $feed[tags] as $tag --><a href='{config[weburl]}/search.php?lx=all&sj=all&skey={tag}'>{tag}</a><!-- end --></div>
				<!-- end -->
				
				<div class="feed-piclist">
				<ul>
				<!-- $feed[piclist] as $pic -->
				<li><a href='{pic[url]}'><img class='magnify' src='{pic[url_thumb]}' title='{pic[pic_name]}' style='height:{pic[thumb_h]}px;width:{pic[thumb_w]}px'></a></li>
				<!-- end -->
				</ul>
				</div>
				
				<div class="att">
					<a href="u.php?feed={feed[id]}" class="att_publish_time" title='<!-- if($feed[refer]) -->分享：{feed[refer][reslist][0][name]}<!-- else -->{feed[reslist][0][name]}<!-- end -->'>
						<span style="display:none"><!-- if($feed[refer]) -->分享：{feed[refer][reslist][0][name]}<!-- else -->{feed[reslist][0][name]}<!-- end --></span>
						{feed[publish_time]}
					</a>
					<a class="att_comment" href="#u" onclick="comments_show(this);">评论({feed[comment]})</a>
					<a class="att_forward" href="#u" onclick="forward_show(this)">转发({feed[forward]})</a>
					<a class="att_share" href="javascript:void(0)">分享</a>
					<!-- if($feed[uid]==$_SESSION[uid]) --><a class="att_delete" href="#u" onclick="feed_delete(this)">删除</a><!-- end -->
					 <br style="clear:both;width:0;height:0">
				</div>
				
				<div class="feed-comlist">
					<div class="com-my"><textarea name="mycomment" style="overflow-y:visible;" onkeypress="javascript:if(event.keyCode==13){comment_add(this);return false;}" onkeyup="comment_check(this)"></textarea></div>
					<div class="com-btn">
						<a href="#u" class="btn" onclick="comment_add(this)">评论</a>
						<span class="com-tip">140/140</span>
						<br style="clear:both">
					</div>
					<div class="com-list"></div>
					<div class="com-nav"></div>
				</div>
			</dd>
		</dl>
		<!-- end -->
	</div>
	
	<!-- if(count($feeds)==0) --><div id="feeds-tip"><!-- if($feeds_empty_message) -->{feeds_empty_message}<!-- else -->没有分享的内容<!-- end --></div><!-- end -->
	
	<!-- if($feeds_nav) --><div class="digg">{feeds_nav}</div><!-- end -->
	
	<dl class="com-item-sample" style="display:none">
		<dt><img src='' width="30" height="30"></dt>
		<dd class="com-con">
			<div class="com-con1"></div>
			<div class="com-con2"></div>
		</dd>
		<dd style="clear:both"></dd>
	</dl>
	
	<div class="forward-sample" style="display:none;width:680px">
		<div style="padding:20px;">
			<div class="forward-refer feed-refer"></div>
			<textarea style="display:block;padding:3px;width:98.5%;height:50px;margin-top:10px;" onkeypress="javascript:if(event.keyCode==13){forward_ok(this);return false;}" onkeyup="forward_check(this)"></textarea>
			<input type="hidden" class="refer_id" value="">
			<div style="text-align:right"></div>
			<div style="text-align:right;padding:5px 0px;"><span class="tip" style="margin-right:10px;">140/140</span><button class="btn" onclick="forward_ok(this)">转发</button></div>
		</div>
	</div>
</div>
